package saxion.sensorframework.structuur;

import java.util.ArrayList;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Sensors is an class wich contains a list consisting of the sensor element<br>
 * Classes can be used for converting xml document to Sensors object
 * 
 * @author Erik & Martijn
 * 
 */
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class Sensors {

	private ArrayList<Sensor> sensor;

	/**
	 * 
	 */
	public Sensors() {

	}

	/**
	 * Get the ArrayList wich contains Sensor elements
	 * 
	 * @return
	 */
	/**
	 * 
	 * @return
	 */
	public ArrayList<Sensor> getSensors() {
		return sensor;
	}

	/**
	 * Set the ArrayList<Sensor> of the class Sensors
	 * 
	 * @param sensor
	 */
	/**
	 * 
	 * @param sensor
	 */
	public void setSensors(ArrayList<Sensor> sensor) {
		this.sensor = sensor;

	}

}
